function [ values] = linearizeValues_SQL( paramsF  )

fields = fieldnames(paramsF);
values=[];

cc=1;
for I=1:length(fields)
    tempName = fields{I};
    value =paramsF.( fields{I});
    if isstruct(value)
        [tn tv]= linearizeValues_SQL(value);
        for J=1:length(tn)
            values(cc) =tv(J);
            cc=cc+1;
        end
    else
        if ischar(value)
            
        else
            if (size(value)==1)
               
                values = [values double(value)];
                cc=cc+1;
            else
                for J=1:length(value)
                   
                    values = [values double(value(J))];
                    cc=cc+1;
                end
            end
        end
    end
end
